<!-- 测试 Hugo JSX 使用 -->
{{ $js := resources.Get "js/test.jsx" | js.Build (dict "JSX" "automatic" "JSXImportSource" "preact") }}

<div id="app"></div>
<script src="{{ $js.RelPermalink }}"></script>